/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * @file  Sent_PBCfg.c
 * @brief Semidrive. MCAL Sent
 * @date 2025-03-25 19:03:22
 */

#include "SentEtimer_Cfg.h"

#define SENT_START_SEC_CONST_UNSPECIFIED
#include "Sent_MemMap.h"

static const SentEtimer_HwChannelConfigType HwChannelConfig0 = {
    .u8TimerModule = (SENTETIMER_INDEX_ETIMER1),
    .u8HwChannel = (SENTETIMER_HW_CPT_A),
    .eFastChannel = (SENTETIMER_STANDARD_FORMAT),
    .eDataBitNum = (SENTETIMER_DATA_WIDTH_24_BIT),
    .u8LowPulseWid = (5),
    .u8FifoWml = (7),
    .bFiterEnable = (TRUE),
    .u8SampleInterval = (4),
    .u8FiterBandwidth = (7),
    .crc4Select = (SENTETIMER_SAE_J2716_2008),
    .bPausePulse = (TRUE),
    .bNotifyFrameOver = FALSE,
    .pfFrameOverNotification = NULL_PTR,
};

static const SentEtimer_ChannelConfigType SentEtimer_ChannelConfigs[1] =
{
    {
        (0),
        &HwChannelConfig0
    },
};

const SentEtimer_ConfigType SentEtimer_Config =
{
    &SentEtimer_ChannelConfigs,
};

#define SENT_STOP_SEC_CONST_UNSPECIFIED
#include "Sent_MemMap.h"
